home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / archivers / sharutils-4.1.lha / SharUtils-4.1 / man / man5 / uuencode.5
Encoding:
Text File  |  1994-12-09  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUENCODE(5)                                           UUENCODE(5)
  5.  
  6.  
  7. NAME
  8.        uuencode - format of an encoded uuencode file
  9.  
  10. DESCRIPTION
  11.        Files output by uuencode(1) consist of a header line, fol-
  12.        lowed by a number of body lines, and a trailer line.   The
  13.        uudecode(1)  command  will  ignore any lines preceding the
  14.        header or following the trailer.  Lines preceding a header
  15.        must not, of course, look like a header.
  16.  
  17.        The  header  line  is  distinguished by having the first 6
  18.        characters begin  The word begin is followed by a mode (in
  19.        octal), and a string which names the remote file.  A space
  20.        separates the three items in the header line.
  21.  
  22.        The body consists of a number of lines, each  at  most  62
  23.        characters  long  (including the trailing newline).  These
  24.        consist of a character count, followed by encoded  charac-
  25.        ters,  followed  by  a  newline.  The character count is a
  26.        single printing character, and represents an integer,  the
  27.        number  of  bytes  the  rest of the line represents.  Such
  28.        integers are always in the range from 0 to 63 and  can  be
  29.        determined  by  subtracting the character space (octal 40)
  30.        from the character.
  31.  
  32.        Groups of 3 bytes are stored in 4 characters, 6  bits  per
  33.        character.   All are offset by a space to make the charac-
  34.        ters printing.  The last line may be shorter than the nor-
  35.        mal  45  bytes.   If the size is not a multiple of 3, this
  36.        fact can be determined by the value of the  count  on  the
  37.        last  line.   Extra  garbage  will be included to make the
  38.        character count a multiple of 4.  The body  is  terminated
  39.        by a line with a count of zero.  This line consists of one
  40.        ASCII space.
  41.  
  42.        The trailer line consists of end on a line by itself.
  43.  
  44. SEE ALSO
  45.        uuencode(1), uudecode(1), uusend(1), uucp(1), mail(1)
  46.  
  47. HISTORY
  48.        The uuencode file format appeared in BSD 4.0 .
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                                                 1
  65.  
  66.  
  67.